<?php
session_start();
$user = $_SESSION['username'];
	
	if(!isset($user)){ 
		die("Anda belum Login, silahkan kembali ke halaman awal anda");
	}
?>
<html lang="en">
<head>
	<link type="text/css" rel="stylesheet" href="css/bootstrap.css"/>
	<title>Jajanan Ngalam</title>
</head>
<header>  
<div class="hero-unit" style="margin-left:70px; margin-top:70px; margin-right:80px">
		<h1><font face="comic sans MS" color="green">JAJANAN NGALAM</font></h1>
		<p><font face="comic sans MS" size=4> Website Integrasi pedagang jajanan asli kota Malang </font></p>
	</div>
</header>
<body style= "background-image:url(images/blue.jpg)">
<div class="hero-unit" style="width:80%%; height:80%; margin-left:70px;">
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="row">
				<div class="span9">	
					<div class="navbar">
						<div class="navbar-inner" style="margin-left:20; margin-right:20">
						<a class="brand">PEMBELI</a>
							<ul class="nav">
								<li><a href="home-pembeli.php">Home</a></li>
								<li><a href="produk_pembeli.php">Produk </a></li>
								<li class="active"><a href="lmap_pembeli.php">Lokasi Jajanan</a></li>
								<li><a href="kritik_pembeli.php">Kritik dan Saran</a></li>
							</ul>
						</div>
						<div class="container-fluid">
							<div class="well span12">
								<a>
									<?php
									include 'map.php';
									?> 
								</a>
							</div>
						</div>
					</div>
				</div>	
				<form class="well span3" method="POST" action="logout.php">
					<h4>Hai, <?php $cek=$_SESSION['username']; echo $cek; ?> !</h4>
					<button type="submit" class="btn">Keluar</button>
				</form>
				<div class="span3">
				</div>
			</div>
		</div>
	</div>
</div>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/bootstrap.js"></script>
	<script src="js/bootstrap-tab.js"></script>
</body>
<footer>
	<div class="hero-unit" style="margin-left:70px; margin-bottom:70px; margin-right:80px">
	</div>
</footer>
</html>
